home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Item MB Quick & Easy 2.0
/
Item MB Quick & Easy 2.0.iso
/
mbfacad
/
zwischen.lsp
< prev
next >
Wrap
Text File
|
1998-03-15
|
1KB
|
44 lines
2. Zeile gibt an, welche Werte abgefragt werden müssen
(setq ZEILE (read-line AIT-da))
(setq LAENGE (strlen ZEILE)
WZ2 1
chrct 1
)
(while (< WZ2 LAENGE)
(if (/= ";" (substr ZEILE WZ2 1))
(setq chrct (1+ chrct))
(setq Tliste (substr ZEILE (1+ (- WZ2 chrct)) (1- chrct))
Liste (append Liste (list Tliste))
chrct 1
)
);if
(setq WZ2 (1+ WZ2))
);while
(setq Tliste (substr ZEILE (1+ (- WZ2 chrct)))
Liste (append Liste (list Tliste))
)
setzen der Variablen
(mapcar 'set '(AIT_a AIT_b AIT_c AIT_d AIT_c) Liste)
(setq Liste nil)
(if (= AIT_a "A")
(progn
(EAITmsg "mb-mld1" "\n" "005" " <")(princ AIT_a)(princ "> ")
(initget (+ 2 4))
(setq EAITwa (getdist " "))
(if (= EAITwa nil)(setq EAITwa EAITlpr))
(setq EAITlpr EAITwa)
)
)
(if (= AIT_b "B")
(progn
(EAITmsg "mb-mld1" "\n" "005" " <")(princ AIT_b)(princ "> ")
(initget (+ 2 4))
(setq EAITwb (getdist " "))
(if (= EAITwb nil)(setq EAITwb EAITlpr))
(setq EAITlpr EAITwb)
)
)